﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.DynamicData;

namespace Ross.EntityFramework.Model
{
    [TableName("Users")]
    public class Users : IEntity<int>
    {
        /// <summary>
        /// 主键ID,自增长.
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 用户名.
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码.
        /// </summary>
        public string password { get; set; }

        /// <summary>
        /// 员工工号.
        /// </summary>
        public string EmpID { get; set; }

        /// <summary>
        /// 员工姓名.
        /// </summary>
        public string EmpName { get; set; }

        /// <summary>
        /// 员工所在部门.
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 员工可查阅的部门.
        /// </summary>
        public string AuthorizedDepartment { get; set; }

        /// <summary>
        /// 是否激活.
        /// </summary>
        public bool IsActive { get; set; }
    }
}
